/* 
<?php
/*
 *  @author Nicolas Genevaux
 * (c)nige 2008
 */
?>
 */

function surSinscrire() {
	document.getElementById("indexInscrire").style.backgroundColor = "#FFFFFF";
	document.getElementById("textPresentationInscire").style.display = "block";
	document.getElementById("textPresentationTest").style.display = "none";
	document.getElementById("textPresentationAnnuaire").style.display = "none";
	document.getElementById("textPresentation").style.display = "none";
}

function outSinscrire() {
	document.getElementById("indexInscrire").style.backgroundColor = "#e4ea87";
}

function surFaireUnTest() {
	document.getElementById("indexTest").style.backgroundColor = "#FFFFFF";
	document.getElementById("textPresentationInscire").style.display = "none";
	document.getElementById("textPresentationTest").style.display = "block";
	document.getElementById("textPresentationAnnuaire").style.display = "none";
	document.getElementById("textPresentation").style.display = "none";
}

function outFaireUnTest() {
	document.getElementById("indexTest").style.backgroundColor = "#e4ea87";
}

function surTousLesTests() {
	document.getElementById("indexAnnuaire").style.backgroundColor = "#FFFFFF";
	document.getElementById("textPresentationInscire").style.display = "none";
	document.getElementById("textPresentationTest").style.display = "none";
	document.getElementById("textPresentationAnnuaire").style.display = "block";
	document.getElementById("textPresentation").style.display = "none";
}

function outTousLesTests() {
	document.getElementById("indexAnnuaire").style.backgroundColor = "#e4ea87";
}

function startCompteur(id) {
	document.getElementById(id).value++;
	setTimeout("startCompteur('"+id+"')",1000);
}
